package com.mtsmda.study.spring.spring_core.bean_basic;

public class FileNameGenerator {

	private String absolutePath;
	private String name;
	private String type;

	public FileNameGenerator() {

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getAbsolutePath() {
		return absolutePath;
	}

	public void setAbsolutePath(String absolutePath) {
		this.absolutePath = absolutePath;
	}

	@Override
	public String toString() {
		return name + type;
	}
	
	public void getFile(){
		System.out.println(this.absolutePath + "//" + toString());
	}

}